<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>歌曲</title>
    <style>
        .outer{
            width:800px;
            min-height: 300px;
            background-color: lightgrey;
            margin: 20px auto;
        }
    </style>
</head>
<body>
    <div class="outer">
        <h1>当前流行的歌曲有：</h1>
        <table>
            <thead>
                <tr>
                    <th>编号</th>
                    <th>名称</th>
                    <th>作者</th>
                </tr>
            </thead>
            <tbody>
                {% for music in musics %}
                    <tr>
                        <td>{{ music.id }}</td>
                        <td>{{ music.name }}</td>
                        <td>{{ music.author }}</td>
                    </tr>
                {% endfor %}
            </tbody>
        </table>

    </div>
</body>
</html>